<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: NPPST Signal Processing</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">NPPST Signal Processing<div class="ingroups"><a class="el" href="../../d1/d1e/group__cuda.html">CUDA-accelerated Computer Vision</a> &raquo; <a class="el" href="../../d5/dc3/group__cudalegacy.html">Legacy support</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga440ba655fd72979cbffee797cfeaaec0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga440ba655fd72979cbffee797cfeaaec0">nppsStCompact_32f</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *d_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *d_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *p_dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> elemRemove, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *pBuffer, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> bufSize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga440ba655fd72979cbffee797cfeaaec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad17df26ff439981ea24dd4fad8334ed3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#gad17df26ff439981ea24dd4fad8334ed3">nppsStCompact_32f_host</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *h_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *h_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> elemRemove)</td></tr>
<tr class="separator:gad17df26ff439981ea24dd4fad8334ed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga338be6eb29e6ad3835d5128414077ef6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga338be6eb29e6ad3835d5128414077ef6">nppsStCompact_32s</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *d_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *d_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *p_dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> elemRemove, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *pBuffer, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> bufSize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga338be6eb29e6ad3835d5128414077ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bc23f35382c9609c449c94503a08a4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga0bc23f35382c9609c449c94503a08a4d">nppsStCompact_32s_host</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *h_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *h_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> elemRemove)</td></tr>
<tr class="separator:ga0bc23f35382c9609c449c94503a08a4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8affd8f556e07d9b10c150fb98d40364"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga8affd8f556e07d9b10c150fb98d40364">nppsStCompact_32u</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *d_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *d_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *p_dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> elemRemove, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *pBuffer, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> bufSize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga8affd8f556e07d9b10c150fb98d40364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea57bb241aac5e10d4fdac6b30655e26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#gaea57bb241aac5e10d4fdac6b30655e26">nppsStCompact_32u_host</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *h_src, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *h_dst, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *dstLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> elemRemove)</td></tr>
<tr class="separator:gaea57bb241aac5e10d4fdac6b30655e26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga815868ea68f1cf070de75ead6b4793a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga815868ea68f1cf070de75ead6b4793a9">nppsStCompactGetSize_32f</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *pBufsize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga815868ea68f1cf070de75ead6b4793a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga500430cc2130b1ab6cff9beabf8b5174"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga500430cc2130b1ab6cff9beabf8b5174">nppsStCompactGetSize_32s</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *pBufsize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga500430cc2130b1ab6cff9beabf8b5174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga82852a492d20ab7ec1a706a315642f4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d25/group__npps.html#ga82852a492d20ab7ec1a706a315642f4e">nppsStCompactGetSize_32u</a> (<a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> srcLen, <a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *pBufsize, cudaDeviceProp &amp;devProp)</td></tr>
<tr class="separator:ga82852a492d20ab7ec1a706a315642f4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga440ba655fd72979cbffee797cfeaaec0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga440ba655fd72979cbffee797cfeaaec0">&#9670;&nbsp;</a></span>nppsStCompact_32f()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32f </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *&#160;</td>
          <td class="paramname"><em>d_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *&#160;</td>
          <td class="paramname"><em>d_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>p_dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *&#160;</td>
          <td class="paramname"><em>pBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>bufSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit float values </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#ga8affd8f556e07d9b10c150fb98d40364">nppsStCompact_32u</a> </dd></dl>

</div>
</div>
<a id="gad17df26ff439981ea24dd4fad8334ed3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad17df26ff439981ea24dd4fad8334ed3">&#9670;&nbsp;</a></span>nppsStCompact_32f_host()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32f_host </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *&#160;</td>
          <td class="paramname"><em>h_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a> *&#160;</td>
          <td class="paramname"><em>h_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gac0209035e98156fe58f846344d39caf4">Ncv32f</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit float values. Host implementation </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#gaea57bb241aac5e10d4fdac6b30655e26">nppsStCompact_32u_host</a> </dd></dl>

</div>
</div>
<a id="ga338be6eb29e6ad3835d5128414077ef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga338be6eb29e6ad3835d5128414077ef6">&#9670;&nbsp;</a></span>nppsStCompact_32s()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32s </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *&#160;</td>
          <td class="paramname"><em>d_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *&#160;</td>
          <td class="paramname"><em>d_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>p_dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *&#160;</td>
          <td class="paramname"><em>pBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>bufSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit signed values </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#ga8affd8f556e07d9b10c150fb98d40364">nppsStCompact_32u</a> </dd></dl>

</div>
</div>
<a id="ga0bc23f35382c9609c449c94503a08a4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bc23f35382c9609c449c94503a08a4d">&#9670;&nbsp;</a></span>nppsStCompact_32s_host()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32s_host </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *&#160;</td>
          <td class="paramname"><em>h_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a> *&#160;</td>
          <td class="paramname"><em>h_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaadac69f69c13cac1919e88db42fc34a7">Ncv32s</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit signed values. Host implementation </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#gaea57bb241aac5e10d4fdac6b30655e26">nppsStCompact_32u_host</a> </dd></dl>

</div>
</div>
<a id="ga8affd8f556e07d9b10c150fb98d40364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8affd8f556e07d9b10c150fb98d40364">&#9670;&nbsp;</a></span>nppsStCompact_32u()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32u </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>d_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>d_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>p_dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gab881cbb83334a20ceeee009bf4a37b0d">Ncv8u</a> *&#160;</td>
          <td class="paramname"><em>pBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>bufSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit unsigned values</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d_src</td><td>[IN] Source vector pointer (CUDA device memory) </td></tr>
    <tr><td class="paramname">srcLen</td><td>[IN] Source vector length </td></tr>
    <tr><td class="paramname">d_dst</td><td>[OUT] Destination vector pointer (CUDA device memory) </td></tr>
    <tr><td class="paramname">p_dstLen</td><td>[OUT] Pointer to the destination vector length (Pinned memory or NULL) </td></tr>
    <tr><td class="paramname">elemRemove</td><td>[IN] The value to be removed </td></tr>
    <tr><td class="paramname">pBuffer</td><td>[IN] Pointer to the pre-allocated temporary buffer (CUDA device memory) </td></tr>
    <tr><td class="paramname">bufSize</td><td>[IN] Size of the pBuffer in bytes </td></tr>
    <tr><td class="paramname">devProp</td><td>[IN] CUDA device properties structure, containing texture alignment information</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>NCV status code </dd></dl>

</div>
</div>
<a id="gaea57bb241aac5e10d4fdac6b30655e26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaea57bb241aac5e10d4fdac6b30655e26">&#9670;&nbsp;</a></span>nppsStCompact_32u_host()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompact_32u_host </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>h_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>h_dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>dstLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>elemRemove</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Compacts the input vector by removing elements of specified value. 32-bit unsigned values. Host implementation</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">h_src</td><td>[IN] Source vector pointer (CUDA device memory) </td></tr>
    <tr><td class="paramname">srcLen</td><td>[IN] Source vector length </td></tr>
    <tr><td class="paramname">h_dst</td><td>[OUT] Destination vector pointer (CUDA device memory) </td></tr>
    <tr><td class="paramname">dstLen</td><td>[OUT] Pointer to the destination vector length (can be NULL) </td></tr>
    <tr><td class="paramname">elemRemove</td><td>[IN] The value to be removed</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>NCV status code </dd></dl>

</div>
</div>
<a id="ga815868ea68f1cf070de75ead6b4793a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga815868ea68f1cf070de75ead6b4793a9">&#9670;&nbsp;</a></span>nppsStCompactGetSize_32f()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompactGetSize_32f </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>pBufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Calculates the size of the temporary buffer for vector compaction. 32-bit float values </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#ga82852a492d20ab7ec1a706a315642f4e">nppsStCompactGetSize_32u</a> </dd></dl>

</div>
</div>
<a id="ga500430cc2130b1ab6cff9beabf8b5174"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga500430cc2130b1ab6cff9beabf8b5174">&#9670;&nbsp;</a></span>nppsStCompactGetSize_32s()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompactGetSize_32s </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>pBufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Calculates the size of the temporary buffer for vector compaction. 32-bit signed values </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="../../de/d25/group__npps.html#ga82852a492d20ab7ec1a706a315642f4e">nppsStCompactGetSize_32u</a> </dd></dl>

</div>
</div>
<a id="ga82852a492d20ab7ec1a706a315642f4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga82852a492d20ab7ec1a706a315642f4e">&#9670;&nbsp;</a></span>nppsStCompactGetSize_32u()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gad2f8ae89a435ba8560489f7cc9455dd2">NCVStatus</a> nppsStCompactGetSize_32u </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a>&#160;</td>
          <td class="paramname"><em>srcLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/dc3/group__cudalegacy.html#gaa3812859f5d6d1938f85192a733fcc02">Ncv32u</a> *&#160;</td>
          <td class="paramname"><em>pBufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cudaDeviceProp &amp;&#160;</td>
          <td class="paramname"><em>devProp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../d5/d2c/NPP__staging_8hpp.html">opencv2/cudalegacy/NPP_staging.hpp</a>&gt;</code></p>
<p>Calculates the size of the temporary buffer for vector compaction. 32-bit unsigned values</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">srcLen</td><td>[IN] Length of the input vector in elements </td></tr>
    <tr><td class="paramname">pBufsize</td><td>[OUT] Pointer to host variable that returns the size of the temporary buffer (in bytes) </td></tr>
    <tr><td class="paramname">devProp</td><td>[IN] CUDA device properties structure, containing texture alignment information</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>NCV status code </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
